Skip to content

Add support for deleting ondemand requests by request-id#255

Open
smahima27 wants to merge 1 commit intomainfrom
P4DEVOPS-floaty-delete-request-id
Open

Add support for deleting ondemand requests by request-id#255
smahima27 wants to merge 1 commit intomainfrom
P4DEVOPS-floaty-delete-request-id

Conversation

@smahima27
Copy link

This change enables floaty delete to accept request-ids (UUID format) in addition to hostnames. When a request-id is detected, floaty will:

  1. Cancel pending ondemand requests by marking status as 'deleted'
  2. Move any already-provisioned VMs to the termination queue

Implementation:

  • Modified Pooler.delete to detect UUID format and use ondemandvm endpoint
  • Updated command syntax and examples to document request-id support
  • Added comprehensive tests for request-id deletion
  • Fixed Ruby 3.1+ compatibility by adding abbrev and base64 gems

Fixes issue where users had no way to cancel ondemand requests or bulk-delete VMs from a completed request.

Status

[Ready for Merge | In Progress | ???]

Description

FIXME

Related Issues

Todos

  • Tests
  • Documentation

This change enables floaty delete to accept request-ids (UUID format)
in addition to hostnames. When a request-id is detected, floaty will:

1. Cancel pending ondemand requests by marking status as 'deleted'
2. Move any already-provisioned VMs to the termination queue

Implementation:
- Modified Pooler.delete to detect UUID format and use ondemandvm endpoint
- Updated command syntax and examples to document request-id support
- Added comprehensive tests for request-id deletion
- Fixed Ruby 3.1+ compatibility by adding abbrev and base64 gems

Fixes issue where users had no way to cancel ondemand requests or
bulk-delete VMs from a completed request.
@smahima27 smahima27 requested a review from a team as a code owner December 26, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant